Wednesday May 6, 2015 Goal:Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks. Learning Target: Students will analyze code with string objects.
Critical Information: A string is an object rather than a data type even though operates similarly to a data type. Critical Information: There are several member functions for string Objects including size, erase, find, etc. Critical Information: The first position in a string object is at the start and has the position number 0. C++ Program: SearchWord.cpp (Directions in binder) Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Wednesday April 29, 2015 Goal:Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks. Learning Target: Understand string objects and string operations in programming.
Refer to Chapter 2 in black paperback textbook. Paper and Pencil Handout: Chapter 2 Review (Dawson) page 3 30 - 37
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Tuesday April 28, 2015 Goal:Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks. Learning Target: Understand string objects and string operations in programming.
Refer to Chapter 2 in black paperback textbook. Paper and Pencil Handout: Chapter 2 Review (Dawson) page 2 16 - 29 Read: Pages 75 - 82 (Dawson, black paperback textbook) Handout: StringTester.cpp Questions Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Friday April 24, 2015 Goal:Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks. Learning Target: Use nested for loops. Paper and Pencil Weekly Sheet:
Write the output of these sections of code.
1.
Read: Pages 75 - 82 (Dawson, black paperback textbook) C++ Program: StringTester.cpp (in textbook) Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Thursday April 23, 2015 Goal:Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks. Learning Target: Use nested for loops. Paper and Pencil Weekly Sheet:
Write the output of these sections of code.
1.
for (int i = 9; i >= 0; --i) asdcout << i << " ";
2.
for (int n = 0; n <= 50; n+=5) asdcout << n << " ";
3.
cout << "Counting with nested for loops:\n";
const int ROWS = 4;
const int COLUMNS = 2;
for (int k = 0; k < ROWS; ++k)
{ asdfor (int j = 0; j < COLUMNS; j++) asdasdcout << k << "," << << j << " "; asdcout << endl;
} C++ Program Filename: Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Objective: Format output. 1. Critical Information: Remember to include all the necessary header files. C++ Program: Columns.cpp Finish and have it checked. C++ Program: SphError.cpp Finish and have it checked. C++ Program: PerCent.cpp Finish and have it checked. C++ Program: CoutSetF.cpp Finish and have it checked. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Friday February 20, 2015 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Objective: Format output. Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators Finish and turn in Critical Information: Remember to include all the necessary header files. C++ Program: Columns.cpp See directions in your binder. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Thursday February 19, 2015 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Learning Target: Use looping to enhance programs. Objective: Format output. Objective: Debug. Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators Pages 5 and 6 Critical Information: Remember to include all the necessary header files that allow the output formatting to work properly. C++ Program: SphError.cpp If you are using Google Chrome, do a right click on the file and choose Save link as... Save it to the desktop.
Save the file to your desktop. Debug. See directions in your binder.
Have programs checked. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Wednesday February 18, 2015 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Learning Target: Use looping to enhance programs. Objective: Format output. Objective: Use compound conditions effectively. Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators Pages 3 and 4 Critical Information: Remember to include all the necessary header files that allow the output formatting to work properly. C++ Program: PerCent.cpp (Objective: Change a percent to a decimal number.) in binder - start with Blank.cpp Have programs checked. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Tuesday February 17, 2015 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Learning Target: Use looping to enhance programs. Objective: Format output. Objective: Use compound conditions effectively. Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators Pages 1 and 2 Critical Information: Remember to include all the necessary header files that allow the output formatting to work properly. C++ Program: CoutSetF.cpp (Objective: Format numeric output.) in binder - start with Blank.cpp
Have programs checked. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Wednesday February 4, 2015 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Learning Target: Translate algebraic notation into C++ notation using the correct rules for order of operations. Learning Target: Use looping to enhance programs. Objective: Create a program that uses loops to repeat and to catch bad data. Paper and Pencil Handout (10 minutes): TempConvert.cpp Do Now 1. Write the algebraic version of the formula for converting from degrees Celsius to degrees Fahrenheit. 2. What data type are you using for the variables for Celsius and Fahrenheit? 3. Use a calculator to convert 15.5 degrees Celsius to Fahrenheit. What do you get? 4. Use your program to convert 15.5 degrees Celsius to Fahrenheit. What was the output? 5. Do they match? 6. What is the result of 9/5 on a calculator? 7. Type this code in a C++ program and tell what the output is. cout << "9/5 = " << 9/5 << endl; 8. Type this code in a C++ program and tell what the output is. cout << "9/5 = " << 9.0/5.0 << endl; 9. True or False: Using integers in a division in C++ will result in a quotient that is truncated to an integer. 10. Describe what you can do to prevent the truncating of decimals. 11. Write a declaration of the variable StartingUnits that will hold the character for the first letter of the temperature units that you are starting with. Here is an example of an assignment statement initializing its value. StartingUnits = 'c'; C++ Program: TempConvertBothWays.cpp Make your TempConvert.cpp program better. Critical Information: Remember to type your code so that unwanted truncating does not occur. Critical Information: The condition for a bad data while loop evaluates to true when the data is bad.
Start with Continue.cpp
Use appropriate variable and constant names
Use appropriate indenting
Include comments
Accept only numbers from -100 through 3000
Test data:
Celsius
Fahrenheit
-40
-40
0
32
100
212
37
98.6
25
77
2
35.6
-4
24.8
15.5
59.9
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Friday January 30, 2015 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Learning Target: Use looping to enhance programs. Learning Target: Use math functions. Learning Target: Develop correct compound control expressions for the logical situations involved. Objective: Create a program that uses loops to repeat and to catch bad data. Paper and Pencil Weekly Handout: 1. 2. 3. 4.
5. Hand in your Do Now paper from this week with everything completed. Paper and Pencil Assignment:Evaluation Control Expression Part II (with Relational and Logical Operators) Read Online: http://www.tutorialspoint.com/cplusplus/cpp_do_while_loop.htm C++ Filename: DoWhile.cpp (must be checked today) C++ Filename:EchoMachine.cpp (must be checked today) Read the requirements for the computer fair categories, Animation and Programming. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Monday December 22, 2014 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Objective:Explain programming phenomena in terms of concepts. Learning Target: Use looping and branching to enhance programs. Read: Read page 5 of Explanations on Topics in TrapArea.cpp Paper and Pencil:
1. When it is necessary to provide 2 different error messages, use an "if else" inside the bad data (_) loop.
2. The cin for the new data item will be after the "if else" is complete, so that you will only need 1 (_) inside the bad data while loop.
a. cout b. cin c. { d. }
3. True or False: The program may get to an else, by process of elimination.
4. char data literals are displayed inside (_) quotes. a. double b. single c. no
5. True or False: C++ is case-sensitive. C++ Filename: VolBox.cpp Follow the directions in your binder. This program must have all of the following:
Continue while loop
Bad data while loops
A bad data counter for counting the times that bad data was entered for one particular box.
A total bad data variable for keeping track of the total number of times that bad data was entered for all boxes.
Output of the bad data count for one box needs to be displayed after the volume for that box.
Output of the bad data count for the total of all boxes must be displayed after the no more box data will be entered.
If no bad data was entered, no bad data output should be displayed.
If bad data was entered only 1 time the output must use reflect the singularity in the grammar.
The program must contain:
1 continue while loop
3 bad data while loops
if statements
if else statements
Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop". Critical Information: A while loop is good for catching bad data because it the user might enter bad data several times before getting it right. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Friday December 19, 2014 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Objective:Explain programming phenomena in terms of concepts. Learning Target: Use looping and branching to enhance programs. Read: Read page 4 of Explanations on Topics in TrapArea.cpp Paper and Pencil:
1. And (&&), or (||), and not (!) are (_) operators. a. relational b. logical c. addition d. modulus
2. To take 2 different courses of action based on whether a control expression is (_) or (_), us an "if else" statement.
3. The statements following "if" will be executed when the control expression is (_).
4. The statements following "else" will be executed when the control expression is (_).
5. Is there a semicolon after the control expression in an "if" or "if else" statement? Yes or No
6. Is there a semicolon after the keyword else? Yes or No Paper and Pencil Assignment:Questions on TrapArea.cpp C++ Filename: Continue.cpp Follow the directions in your binder. You must type all of the comments. Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop". Critical Information: A while loop is good for catching bad data because it the user might enter bad data several times before getting it right. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Friday December 12, 2014 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Paper and Pencil:
Computer Science Education Week
Code.org/Learn
Finish Scratch Program: DivideContinue.sb Create the program and add comments. Directions in your binder. Have yours checked! C++ Filename: DivideContinue.cpp Create the same program as DivideContinue.sb in C++. Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop" or similar loop in Scratch. Critical Information: An "if" statement adds extra code to be executed only when the condition is true. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
Thursday December 11, 2014 Goal:Students will be able toimplement, analyze, debug, and createalgorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks. Objective: Apply the concepts from the Scratch program in C++. (DOK Level 3) Objective: Test code. (Critique - DOK Level 3) Paper and Pencil:
Finish Scratch Program: DivideContinue.sb Create the program and add comments. Directions in your binder. Have yours checked! C++ Filename: DivideContinue.cpp Create the same program as DivideContinue.sb in C++. Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop" or similar loop in Scratch. Critical Information: An "if" statement adds extra code to be executed only when the condition is true. Paper and Pencil in Binder: Activity Log and Reflection (5 min)
Track your progress on the current assignment.
Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker. Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder. Turn in papers and return your binder and books to the white shelves.
10/20
Partners:
Analyze the calculations in LostFortune.
Goal: Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks.
Learning Target: Students will analyze code with string objects.
Critical Information: A string is an object rather than a data type even though operates similarly to a data type.
Critical Information: There are several member functions for string Objects including size, erase, find, etc.
Critical Information: The first position in a string object is at the start and has the position number 0.
C++ Program: SearchWord.cpp (Directions in binder)
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Wednesday April 29, 2015
Goal: Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks.
Learning Target: Understand string objects and string operations in programming.
Refer to Chapter 2 in black paperback textbook.
Paper and Pencil Handout: Chapter 2 Review (Dawson) page 3 30 - 37
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Tuesday April 28, 2015
Goal: Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks.
Learning Target: Understand string objects and string operations in programming.
Refer to Chapter 2 in black paperback textbook.
Paper and Pencil Handout: Chapter 2 Review (Dawson) page 2 16 - 29
Read: Pages 75 - 82 (Dawson, black paperback textbook)
Handout: StringTester.cpp Questions
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Friday April 24, 2015
Goal: Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks.
Learning Target: Use nested for loops.
Paper and Pencil Weekly Sheet:
Write the output of these sections of code.
1.
Read: Pages 75 - 82 (Dawson, black paperback textbook)
C++ Program: StringTester.cpp (in textbook)
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Thursday April 23, 2015
Goal: Students will be able to analyze, create, implement, and debug algorithms that use loops, string objects, lists, and arrays to produce programs that are as good as the benchmarks.
Learning Target: Use nested for loops.
Paper and Pencil Weekly Sheet:
Write the output of these sections of code.
1.
for (int i = 9; i >= 0; --i)
asdcout << i << " ";
2.
for (int n = 0; n <= 50; n+=5)
asdcout << n << " ";
3.
cout << "Counting with nested for loops:\n";
const int ROWS = 4;
const int COLUMNS = 2;
for (int k = 0; k < ROWS; ++k)
{
asdfor (int j = 0; j < COLUMNS; j++)
asdasdcout << k << "," << << j << " ";
asdcout << endl;
}
C++ Program Filename:
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Objective: Format output.
1.
Critical Information: Remember to include all the necessary header files.
C++ Program: Columns.cpp Finish and have it checked.
C++ Program: SphError.cpp Finish and have it checked.
C++ Program: PerCent.cpp Finish and have it checked.
C++ Program: CoutSetF.cpp Finish and have it checked.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Friday February 20, 2015
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Objective: Format output.
Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators
Finish and turn in
Critical Information: Remember to include all the necessary header files.
C++ Program: Columns.cpp See directions in your binder.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Thursday February 19, 2015
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Learning Target: Use looping to enhance programs.
Objective: Format output.
Objective: Debug.
Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators
Pages 5 and 6
Critical Information: Remember to include all the necessary header files that allow the output formatting to work properly.
C++ Program: SphError.cpp If you are using Google Chrome, do a right click on the file and choose Save link as... Save it to the desktop.
Save the file to your desktop. Debug. See directions in your binder.
Have programs checked.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Wednesday February 18, 2015
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Learning Target: Use looping to enhance programs.
Objective: Format output.
Objective: Use compound conditions effectively.
Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators
Pages 3 and 4
Critical Information: Remember to include all the necessary header files that allow the output formatting to work properly.
C++ Program: PerCent.cpp (Objective: Change a percent to a decimal number.) in binder - start with Blank.cpp
Have programs checked.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Tuesday February 17, 2015
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Learning Target: Use looping to enhance programs.
Objective: Format output.
Objective: Use compound conditions effectively.
Paper and Pencil Handout: Evaluating Control Expressions Part III with Relational and Logical Operators
Pages 1 and 2
Critical Information: Remember to include all the necessary header files that allow the output formatting to work properly.
C++ Program: CoutSetF.cpp (Objective: Format numeric output.) in binder - start with Blank.cpp
Have programs checked.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Wednesday February 4, 2015
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Learning Target: Translate algebraic notation into C++ notation using the correct rules for order of operations.
Learning Target: Use looping to enhance programs.
Objective: Create a program that uses loops to repeat and to catch bad data.
Paper and Pencil Handout (10 minutes): TempConvert.cpp Do Now
1. Write the algebraic version of the formula for converting from degrees Celsius to degrees Fahrenheit.
2. What data type are you using for the variables for Celsius and Fahrenheit?
3. Use a calculator to convert 15.5 degrees Celsius to Fahrenheit. What do you get?
4. Use your program to convert 15.5 degrees Celsius to Fahrenheit. What was the output?
5. Do they match?
6. What is the result of 9/5 on a calculator?
7. Type this code in a C++ program and tell what the output is. cout << "9/5 = " << 9/5 << endl;
8. Type this code in a C++ program and tell what the output is. cout << "9/5 = " << 9.0/5.0 << endl;
9. True or False: Using integers in a division in C++ will result in a quotient that is truncated to an integer.
10. Describe what you can do to prevent the truncating of decimals.
11. Write a declaration of the variable StartingUnits that will hold the character for the first letter of the temperature units that you are starting with. Here is an example of an assignment statement initializing its value.
StartingUnits = 'c';
C++ Program: TempConvertBothWays.cpp Make your TempConvert.cpp program better.
Critical Information: Remember to type your code so that unwanted truncating does not occur.
Critical Information: The condition for a bad data while loop evaluates to true when the data is bad.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Friday January 30, 2015
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Learning Target: Use looping to enhance programs.
Learning Target: Use math functions.
Learning Target: Develop correct compound control expressions for the logical situations involved.
Objective: Create a program that uses loops to repeat and to catch bad data.
Paper and Pencil Weekly Handout:
1.
2.
3.
4.
5.
Hand in your Do Now paper from this week with everything completed.
Paper and Pencil Assignment: Evaluation Control Expression Part II (with Relational and Logical Operators)
Read Online: http://www.tutorialspoint.com/cplusplus/cpp_do_while_loop.htm
C++ Filename: DoWhile.cpp (must be checked today)
C++ Filename: EchoMachine.cpp (must be checked today)
Read the requirements for the computer fair categories, Animation and Programming.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Monday December 22, 2014
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Objective: Explain programming phenomena in terms of concepts.
Learning Target: Use looping and branching to enhance programs.
Read: Read page 5 of Explanations on Topics in TrapArea.cpp
Paper and Pencil:
1. When it is necessary to provide 2 different error messages, use an "if else" inside the bad data (_) loop.
2. The cin for the new data item will be after the "if else" is complete, so that you will only need 1 (_) inside the bad data while loop.
a. cout b. cin c. { d. }
3. True or False: The program may get to an else, by process of elimination.
4. char data literals are displayed inside (_) quotes. a. double b. single c. no
5. True or False: C++ is case-sensitive.
C++ Filename: VolBox.cpp Follow the directions in your binder. This program must have all of the following:
- Continue while loop
- Bad data while loops
- A bad data counter for counting the times that bad data was entered for one particular box.
- A total bad data variable for keeping track of the total number of times that bad data was entered for all boxes.
- Output of the bad data count for one box needs to be displayed after the volume for that box.
- Output of the bad data count for the total of all boxes must be displayed after the no more box data will be entered.
- If no bad data was entered, no bad data output should be displayed.
- If bad data was entered only 1 time the output must use reflect the singularity in the grammar.
- The program must contain:
- 1 continue while loop
- 3 bad data while loops
- if statements
- if else statements
Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop".Critical Information: A while loop is good for catching bad data because it the user might enter bad data several times before getting it right.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Friday December 19, 2014
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Objective: Explain programming phenomena in terms of concepts.
Learning Target: Use looping and branching to enhance programs.
Read: Read page 4 of Explanations on Topics in TrapArea.cpp
Paper and Pencil:
1. And (&&), or (||), and not (!) are (_) operators. a. relational b. logical c. addition d. modulus
2. To take 2 different courses of action based on whether a control expression is (_) or (_), us an "if else" statement.
3. The statements following "if" will be executed when the control expression is (_).
4. The statements following "else" will be executed when the control expression is (_).
5. Is there a semicolon after the control expression in an "if" or "if else" statement? Yes or No
6. Is there a semicolon after the keyword else? Yes or No
Paper and Pencil Assignment: Questions on TrapArea.cpp
C++ Filename: Continue.cpp Follow the directions in your binder. You must type all of the comments.
Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop".
Critical Information: A while loop is good for catching bad data because it the user might enter bad data several times before getting it right.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Friday December 12, 2014
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Paper and Pencil:
Computer Science Education Week
Code.org/Learn
Finish Scratch Program: DivideContinue.sb Create the program and add comments. Directions in your binder. Have yours checked!
C++ Filename: DivideContinue.cpp Create the same program as DivideContinue.sb in C++.
Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop" or similar loop in Scratch.
Critical Information: An "if" statement adds extra code to be executed only when the condition is true.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
Thursday December 11, 2014
Goal: Students will be able to implement, analyze, debug, and create algorithms that make decisions for branching and looping to produce programs that are as good as the benchmarks.
Objective: Apply the concepts from the Scratch program in C++. (DOK Level 3)
Objective: Test code. (Critique - DOK Level 3)
Paper and Pencil:
Finish Scratch Program: DivideContinue.sb Create the program and add comments. Directions in your binder. Have yours checked!
C++ Filename: DivideContinue.cpp Create the same program as DivideContinue.sb in C++.
Critical Information: To repeat an entire program without re-running it, add a "Continue While Loop" or similar loop in Scratch.
Critical Information: An "if" statement adds extra code to be executed only when the condition is true.
Paper and Pencil in Binder: Activity Log and Reflection (5 min)
- Track your progress on the current assignment.
- Reflect on what you learned today with a sentence that can start with one of the prompts shown at the bottom of the sheet.
Save your file to the desktop and to your flash drive. Then upload it to your Gaggle digital locker.Delete your files off the desktop and empty the recycle bin. Remove your flash drive safely and put it in the ring of your binder.
Turn in papers and return your binder and books to the white shelves.
10/20
Partners:
Analyze the calculations in LostFortune.
What is %
Mod
Write comments for the calculation lines of code.
program LostFortune from binder.